package org.jeecg.modules.product.contractor.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;


/**
 * @Description: 承包商教育培训
 * @Author: jeecg-boot
 * @Date:   2024-07-08
 * @Version: V1.0
 */
@Data
@TableName("tb_contractor_education_training")
@Schema(description="承包商教育培训")
public class TbContractorEducationTraining implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**培训班名称*/
    @Excel(name = "培训班名称", width = 15)
    @Schema(description = "培训班名称")
    private String name;
	/**年度*/
    @Excel(name = "年度", width = 15)
    @Schema(description = "年度")
    private String year;
	/**培训类别*/
    @Excel(name = "培训类别", width = 15, dicCode = "contractorTrainType")
    @Dict(dicCode = "contractorTrainType")
    @Schema(description = "培训类别")
    private String contractorTrainType;
	/**培训开始日期*/
    @Excel(name = "培训开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "培训开始日期")
    private Date startDate;
	/**培训结束日期*/
    @Excel(name = "培训结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "培训结束日期")
    private Date endDate;
	/**实际培训学时*/
    @Excel(name = "实际培训学时", width = 15)
    @Schema(description = "实际培训学时")
    private Double creditHour;
	/**授课人*/
    @Excel(name = "授课人", width = 15)
    @Schema(description = "授课人")
    private String lecturer;
	/**是否外部单位培训*/
    @Excel(name = "是否外部单位培训", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @Schema(description = "是否外部单位培训")
    private String externalTrainingOrNot;
	/**培训单位*/
    @Excel(name = "培训单位", width = 15)
    @Schema(description = "培训单位")
    private String trainingCompany;
	/**培训形式*/
    @Excel(name = "培训形式", width = 15, dicCode = "contractorTrainingForm")
    @Dict(dicCode = "contractorTrainingForm")
    @Schema(description = "培训形式")
    private String trainingForm;
	/**培训人数*/
    @Excel(name = "培训人数", width = 15)
    @Schema(description = "培训人数")
    private Integer traineesNumber;
	/**合格人数*/
    @Excel(name = "合格人数", width = 15)
    @Schema(description = "合格人数")
    private Integer qualifiedNumber;
	/**培训内容*/
    @Excel(name = "培训内容", width = 15)
    @Schema(description = "培训内容")
    private String trainingContent;
	/**培训效果/总结*/
    @Excel(name = "培训效果/总结", width = 15)
    @Schema(description = "培训效果/总结")
    private String trainingEffect;
	/**考试/考核方式*/
    @Excel(name = "考试/考核方式", width = 15)
    @Schema(description = "考试/考核方式")
    private String assessmentMethod;
	/** 培训教材/试题*/
    @Excel(name = " 培训教材/试题", width = 15)
    @Schema(description = " 培训教材/试题")
    private String trainingMaterial;
	/**租户id*/
    @Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
